<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@ include file="/elements/head.jsp"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="Userservlet?opr=resend&uname=${sessionScope.userload.username}" method="post" onsubmit="return check()">
		<div id="main">
		<div class="mainbox">			
			<div class="menu">
				<span><a href="Userservlet?opr=mymsg">返回</a></span>
				<span>当前用户：<a href="javascript:viod(0)">${sessionScope.userload.username}</a></span>
				<span><a href="Userservlet?opr=sendmsg">发短消息</a></span>
				<span><a href="Userservlet?opr=logout">退出</a></span>
			</div>
			<div class="content">
				<div class="message">
					<%-- <%String to=request.getParameter("sendto");request.setAttribute("sendto",to ); %> --%>
						<div class="tmenu">
							<ul class="clearfix">
								<li>
									发送给：
									<select name="toUser">
						  	 				<option value="${requestScope.msgname }" selected="">${requestScope.msgname }</option>
						  	 		</select>
								</li>								
								<li>标题：<input type="text" name="title" id="title" value="回复:${requestScope.msgname }"/></li>
							</ul>
						</div>
						<div class="view">
							<textarea name="content" id="content" > </textarea>
							<div class="send"><input type="submit" name="submit" value="" /></div>
						</div>
					
				</div>
			</div>
		</div>
	</div>
	</form>
</body>
</html>